package com.ray.pojo;

public class User
{

    public User()
    {
    }

    public User(long id, String name, long gender)
    {
        this.id = id;
        this.name = name;
        this.gender = gender;
    }

    private long id;
    private String name;
    private long gender;

    public long getId()
    {
        return id;
    }

    public void setId(long id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public long getGender()
    {
        return gender;
    }

    public void setGender(long gender)
    {
        this.gender = gender;
    }

    @Override
    public String toString()
    {
        return "User{" + "id=" + id + ", name='" + name + '\'' + ", gender=" + gender + '}';
    }
}
